home *** CD-ROM | disk | FTP | other *** search
/ Holt Researcher: American History / Holt Researcher: American History.iso / pc / modules / grphwiz.dxr / 00065_continue button.ls < prev    next >
Encoding:
Text File  |  2000-01-14  |  580 b   |  26 lines

  1. property ancestor, pMIAW
  2. global gGraphHelp
  3.  
  4. on new me, buttonName, castName, theChannel, theStageLoc, descendant
  5.   if objectp(descendant) then
  6.     ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, descendant)
  7.   else
  8.     ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, me)
  9.   end if
  10.   return me
  11. end
  12.  
  13. on setMIAW me, miaw
  14.   pMIAW = miaw
  15.   return me
  16. end
  17.  
  18. on performFunction me
  19.   outScope(pMIAW)
  20.   if windowPresent("Graph Help") then
  21.     closeMe(gGraphHelp)
  22.   end if
  23.   go(getNextPage(pMIAW))
  24.   return me
  25. end
  26.